package com.maxmlr.net.rpc;

/**
 * @ClassName RpcDemo
 * @Description TODO
 * @Author maxiao
 * @Date 2020/4/4 下午9:02
 * @Version V1.0
 */
public class RpcDemo {

    public static void main(String[] args) {
        TestService testService = new TestServiceImpl();
        TcpServer tcpServer = new TcpServer();
        tcpServer.publisher(testService,10000);

    }
}
